package com.yxhl.zoume.core.specialcar.presenter;

import android.content.Context;

import com.amap.api.services.core.LatLonPoint;
import com.amap.api.services.poisearch.PoiSearch;

/**
 * Created by sugarya on 16/4/19.
 */
public interface ISearchPOIPresenter extends PoiSearch.OnPoiSearchListener {

    /**
     * 每次搜索返回的POI数量
     */
    int SEARCH_PAGE_NUM = 15;

    /**
     * 周边搜索半径
     */
    int MAP_SEARCH_POI_RADIUS = 1500;

    /**
     * 进行关键词poi搜索
     */
    void doSearchPOIByKeyWord(Context context, String keyWord, int currentPage, String searchCity);

    /**
     * 周边搜索
     *
     * @param context
     * @param currentPage
     * @param searchCity
     * @param centerPoint
     */
    void doSearchPOINearBy(Context context, int currentPage, String searchCity, LatLonPoint centerPoint);

}
